package cn.jiyun.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Date;

@RestController
public class DateController {

    /**
     * 日期处理控制器
     */
    @RequestMapping("/date")
    public String date(Date date){
        return date.toString();
    }

}
